package com.jwdf.uda.event;

import com.jwdf.uda.bean.ExtraBaseQuestion;
import com.jwdf.uda.ui.adapter.item.ReplyDetailItem;
import com.jwdf.uda.utils.EventBusUtil;

/**
 * Created by Administrator on 2016/9/19.
 */
public class ReplyDetailEvent implements EventBusUtil.IEvent {
    public static final int EVENT_TAB_COMMENT = 0x1;
    public static final int EVENT_TAB_LIKE = 0x2;
    public static final int EVENT_REFRESH_LIKE = 0x3;
    public static final int EVENT_LIKE_COMMENT = 0x4;
    public static final int EVENT_UNLIKE_COMMENT = 0x5;
    public static final int EVENT_COMMENT_ADD = 0x6;
    public static final int EVENT_DO_REPLY_PRAISE = 0x7;
    public static final int EVENT_TITLE_ACTION_FINISH = 0x8;
    public static final int EVENT_TITLE_ACTION_START = 0x9;
    public static final int EVENT_USER_ADD_FOLLOW = 0x10;
    public static final int EVENT_USER_CANCEL_FOLLOW = 0x11;
    private int event;
    public int count;
    public ReplyDetailItem item;
    private ExtraBaseQuestion extraBaseQuestion;
    private String userId;

    public ReplyDetailEvent(int event) {
        this.event = event;
    }

    public ReplyDetailEvent(int event, ExtraBaseQuestion baseQuestion) {
        this(event);
        this.extraBaseQuestion = baseQuestion;
    }

    public ReplyDetailEvent(int event, String userId) {
        this(event);
        this.userId = userId;
    }

    public ExtraBaseQuestion getExtraBaseQuestion() {
        return extraBaseQuestion;
    }

    public int getEvent() {
        return event;
    }

    public String getUserId() {
        return userId;
    }
}
